define({ "api": [
  {
    "type": "get",
    "url": "/articleDetail",
    "title": "咨询详情",
    "name": "articleDetail",
    "group": "article",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>资讯id</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    id : 'd56dwad87wd65awad'\n}",
          "type": "Object"
        }
      ]
    },
    "success": {
      "fields": {
        "200": [
          {
            "group": "200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>状态码</p>"
          },
          {
            "group": "200",
            "type": "Object",
            "optional": false,
            "field": "message",
            "description": "<p>咨询详情</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    status : 0,\n    message:{\n       title:'标题',\n       content:'内容',\n       createTime:'上传时间',\n       avatar:'封面'\n    }\n}",
          "type": "Object"
        }
      ]
    },
    "filename": "app/controller/apis.js",
    "groupTitle": "article",
    "sampleRequest": [
      {
        "url": "https://mmmagin.cn/apis/articleDetail"
      }
    ]
  },
  {
    "type": "get",
    "url": "/articles",
    "title": "资讯列表",
    "name": "articles",
    "group": "article",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "skip",
            "description": "<p>资讯数量偏移量</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "limit",
            "description": "<p>资讯获取数量</p>"
          },
          {
            "group": "Parameter",
            "type": "Boolean",
            "optional": true,
            "field": "history",
            "description": "<p>是否查询往期资讯</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "title",
            "description": "<p>根据文章标题模糊搜索</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    skip : 0,\n    limit: 20,\n    title: 哈哈\n}",
          "type": "Object"
        }
      ]
    },
    "success": {
      "fields": {
        "200": [
          {
            "group": "200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>状态码</p>"
          },
          {
            "group": "200",
            "type": "Number",
            "optional": false,
            "field": "count",
            "description": "<p>当前history/title搜索下的资讯总条数</p>"
          },
          {
            "group": "200",
            "type": "Object[]",
            "optional": false,
            "field": "data",
            "description": "<p>当前资讯列表</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    status:0,\n    message:{\n     count : 120,\n     data  : [{\n       title:'标题',\n       avatar:'封面图',\n       createTime:'创建时间',\n       history:'是否是往期资讯'\n     }]\n    }\n}",
          "type": "Object"
        }
      ]
    },
    "filename": "app/controller/apis.js",
    "groupTitle": "article",
    "sampleRequest": [
      {
        "url": "https://mmmagin.cn/apis/articles"
      }
    ]
  },
  {
    "type": "get",
    "url": "/banners",
    "title": "轮播图获取",
    "name": "banners",
    "group": "banners",
    "version": "1.0.0",
    "success": {
      "fields": {
        "200": [
          {
            "group": "200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>状态码</p>"
          },
          {
            "group": "200",
            "type": "String",
            "optional": false,
            "field": "url",
            "description": "<p>banner图</p>"
          },
          {
            "group": "200",
            "type": "String",
            "optional": false,
            "field": "link",
            "description": "<p>跳转的咨询id</p>"
          },
          {
            "group": "200",
            "type": "String",
            "optional": false,
            "field": "weight",
            "description": "<p>权重</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    status : 0 ,\n    message: [\n      {\n         url:'base64:XXX',\n         link:'b3dasdwqdjio2',\n         weight:100\n       }\n    ]\n}",
          "type": "type"
        }
      ]
    },
    "filename": "app/controller/apis.js",
    "groupTitle": "banners",
    "sampleRequest": [
      {
        "url": "https://mmmagin.cn/apis/banners"
      }
    ]
  },
  {
    "type": "get",
    "url": "/projectDetail",
    "title": "项目详情",
    "name": "projectDetail",
    "group": "project",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>项目id</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    id : 'd8wdq7dsd8w7q8dw8'\n}",
          "type": "Object"
        }
      ]
    },
    "success": {
      "fields": {
        "200": [
          {
            "group": "200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>状态码</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    status : 0,\n    message:{\n      title:'标题',\n      content:'详情内容',\n      avatar:'封面图',\n      voteCount:'点赞数量',\n      createTime:'创建时间'\n    }\n}",
          "type": "Object"
        }
      ]
    },
    "filename": "app/controller/apis.js",
    "groupTitle": "project",
    "sampleRequest": [
      {
        "url": "https://mmmagin.cn/apis/projectDetail"
      }
    ]
  },
  {
    "type": "get",
    "url": "/projects",
    "title": "项目列表",
    "name": "projects",
    "group": "project",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "skip",
            "description": "<p>偏移量</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "limit",
            "description": "<p>条数</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "title",
            "description": "<p>名称模糊搜索</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "userId",
            "description": "<p>用户标识</p>"
          },
          {
            "group": "Parameter",
            "type": "Boolean",
            "optional": true,
            "field": "vote",
            "description": "<p>是否根据voteCount排序</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    skip : 0,\n    limit : 10,\n    title : '奥特曼',\n    userId:'dsad8wqd88aas'\n}",
          "type": "type"
        }
      ]
    },
    "success": {
      "fields": {
        "200": [
          {
            "group": "200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>状态码</p>"
          },
          {
            "group": "200",
            "type": "Number",
            "optional": false,
            "field": "count",
            "description": "<p>总条数</p>"
          },
          {
            "group": "200",
            "type": "Object[]",
            "optional": false,
            "field": "data",
            "description": "<p>项目信息</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    status : 0,\n    message:{\n       count:100,\n       data:[\n         {\n            title:'标题',\n            avatar:'封面',\n            voteCount:'点赞数',\n            hasVote:false,\n            seq:1\n         }\n       ]\n    }\n}",
          "type": "type"
        }
      ]
    },
    "filename": "app/controller/apis.js",
    "groupTitle": "project",
    "sampleRequest": [
      {
        "url": "https://mmmagin.cn/apis/projects"
      }
    ]
  },
  {
    "type": "get",
    "url": "/vote",
    "title": "投票",
    "name": "vote",
    "group": "vote",
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "userId",
            "description": "<p>用户唯一标示(随便是啥都行)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "projectId",
            "description": "<p>项目id</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "username",
            "description": "<p>用户名</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "headimg",
            "description": "<p>用户头像</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Request-Example:",
          "content": "{\n    userId : 'da89dwad98ad79ad',\n    projectId : 'd9sadwq8dsaddas8sd',\n    username : 'd9sadwq8dsaddas8sd',\n    headimg : 'd9sadwq8dsaddas8sd',\n}",
          "type": "type"
        }
      ]
    },
    "success": {
      "fields": {
        "200": [
          {
            "group": "200",
            "type": "Number",
            "optional": false,
            "field": "status",
            "description": "<p>状态码</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    status : 0\n}",
          "type": "Object"
        }
      ]
    },
    "filename": "app/controller/apis.js",
    "groupTitle": "vote",
    "sampleRequest": [
      {
        "url": "https://mmmagin.cn/apis/vote"
      }
    ]
  }
] });
